

<div class="sidebar">

  <ul nz-menu [nzTheme]="'dark'" [nzMode]="'inline'" >
    
    <li *ngIf="user?.loginId == 'suzhen'" nz-menu-item  [nzDisabled]=true  >
      <span>
        <i nz-icon nzType="exclamation-circle" nzTheme="outline"></i>
        <span class="nav-text" [hidden]="isCollapsed">消息中心</span>
        <i nz-icon type="caret-right" class='ioc-r' theme="outline" [hidden]="isCollapsed"></i>
      </span>
    </li>

    <li *ngIf="user?.loginId == 'suzhen'" nz-menu-item routerLink="/member/center/home" [nzSelected]='url == "center/home"' >
      <span>
            <i nz-icon nzType="calendar" nzTheme="outline"></i>
        <span class="nav-text" [hidden]="isCollapsed">医生个人中心</span>
        <i nz-icon type="caret-right" class='ioc-r' theme="outline" [hidden]="isCollapsed"></i>
      </span>
    </li>
    
    <li *ngIf="user?.loginId == 'suzhen'" nz-menu-item routerLink="/member/center/setdzcf" [nzSelected]='url == "center/setdzcf"'>
        <span>
            <i nz-icon nzType="fork" nzTheme="outline"></i>
            <span class="nav-text" [hidden]="isCollapsed">导入电子处方</span>
            <i nz-icon type="caret-right" class='ioc-r' theme="outline" [hidden]="isCollapsed"></i>
        </span>
    </li>
    
    <li *ngIf="user?.loginId == 'shibaoyu'" nz-menu-item routerLink="/member/center/shibaoyuhome" [nzSelected]='url == "center/shibaoyuhome"'>
      <span>
            <i nz-icon nzType="calendar" nzTheme="outline"></i>
        <span class="nav-text" [hidden]="isCollapsed">药师个人中心</span>
        <i nz-icon type="caret-right" class='ioc-r' theme="outline" [hidden]="isCollapsed"></i>
      </span>
    </li>
    <li *ngIf="user?.loginId == 'shibaoyu'" nz-menu-item routerLink="/member/center/transactionListPage" [nzSelected]='url == "center/transactionListPage"'>
      <span>
            <i nz-icon nzType="schedule" nzTheme="outline"></i>
        <span class="nav-text" [hidden]="isCollapsed">未审核处方  </span>
        <nz-badge *ngIf="cfindex>0" style="float: right;margin-top: .9rem"  [nzShowZero]='false' [nzCount]="cfindex"></nz-badge>
        <i nz-icon *ngIf="cfindex==0" type="caret-right" class='ioc-r' theme="outline" [hidden]="isCollapsed"></i>
      </span>
    </li>

    <li  nz-menu-item  nz-menu-item routerLink="/member/center/ysh" [nzSelected]='url == "center/ysh"'>
      <span>
            <i nz-icon nzType="schedule" nzTheme="outline"></i>
        <span class="nav-text" [hidden]="isCollapsed">已审核处方</span>
        <i nz-icon type="caret-right" class='ioc-r' theme="outline" [hidden]="isCollapsed"></i>
      </span>
    </li>


  </ul>

</div>


